package jsu.xxy.coffee3.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName comments
 */
@TableName(value ="comments")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comments implements Serializable {
    /**
     * 
     */
    @TableId
    @TableField(value = "orderid")
    private Integer orderid;

    /**
     * 
     */
    @TableField(value = "comment")
    private String comment;

    /**
     * 
     */
    @TableField(value = "score")
    private Double score;

    /**
     * 
     */
    @TableField(value = "com_time")
    private LocalDateTime comTime;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}